<template>
  <!--企业贷款计算器-->
  <div class="wrapper wbgcolor" style="margin-left: 0px">
    <div class="w1200 personal">

      <div class="registerTitle">企业贷款计算器</div>

      <div class="personal-main" >
        <div class="personal-pay" style="width: 150%;">
          <h3><i>企业贷款计算器</i></h3>
          <!-- 在div盒子里填写信息 -->
          <div style="width: 100%;margin-left: -90px">
            <div class="row container">
              <div class="col-xs-2 col-xs-offset-2">
                <div class="list-group">
                  <!-- 原始html中我们使用a标签实现页面的跳转 -->
                  <!-- <a class="list-group-item active" href="./about.html">About</a> -->
                  <!-- <a class="list-group-item" href="./home.html">Home</a> -->
                  <!-- Vue中借助router-link标签实现路由的切换 -->
                  <router-link class="list-group-item" active-class="active" to="/computer/Center_1"><button>等额本息还款计算器</button></router-link>
                  <router-link class="list-group-item" active-class="active" to="/computer/center_2"><button>等额本金还款计算器</button></router-link>
                  <router-link class="list-group-item" active-class="active" to="/computer/center_3"><button>高利贷鉴别计算器</button></router-link>
                  <router-link class="list-group-item" active-class="active" to="/computer/center_4"><button>民进借贷计算器</button></router-link>
                  <!--          <router-link class="list-group-item" active-class="active" to="/center_5"><button>民间利率转换计算器</button></router-link>-->
                  <hr style="margin-top: -18px">
                </div>
              </div>
            </div>
            <div class="col-xs-6" style="margin-left: -200px">
              <div class="panel">
                <div class="panel-body">
                  <!-- 指定组件的呈现位置 -->
                  <router-view></router-view>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>


    </div>
  </div>
</template>

<script>
import '../assets/css/user.css'

export default {
  name:'Computer',
}
</script>

<style>
.list-group button{
  width: 210px;
  height: 60px;
  background-color: cornflowerblue;
  margin: 20px 10px 20px 20px;
  font-size: 18px;
}
.container{
  display: flex;
  justify-content: space-around;
}
.list-group-item{
  text-decoration: none;
}
.list-group-item button{
  border-radius: 8px;
}
</style>
